package com.zzkrst.modules.generator.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zzkrst.modules.generator.model.GeneratorParam;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @Author zlt
 */
public interface SysGeneratorService  {
     IPage<List<Map<String, Object>>> queryList(String tableName, Integer pageNo, Integer pageSize);

     Map<String, String> queryTable(String tableName);

     List<Map<String, String>> queryColumns(String tableName);

     GeneratorParam queryGeneratorParam(String tableName);

     byte[] generatorCode(GeneratorParam param) throws IOException;
}
